﻿using System.ComponentModel.DataAnnotations.Schema;
using Common.BaseLibrary.Domain;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DepartmentWork.Migrator.Data
{

    /// <summary>
    /// 运维项目表
    /// </summary>
    [Serializable]
    public class PROJECT_MAINTENANCE_APPOPS : IEntity
    {


        /// <summary>
        /// 运维项目ID
        /// </summary>
        [DisplayName("运维项目编号"), Required, Key]
        public Guid APPOPS_ID { get; set; }

        /// <summary>
        /// 运维项目编号
        /// </summary>
        [DisplayName("运维项目编号"), Required]
        public string APPOPS_NO { get; set; }



        /// <summary>
        /// *运维项目名称
        /// </summary>
        [DisplayName("运维项目名称"), Required]
        public string APPOPS_NAME { get; set; }


        /// <summary>
        ///  *关级/署级
        /// </summary>
        [DisplayName("关级署级"), Required]
        public string APPOPS_WORKRANK { get; set; }

        /// <summary>
        /// 项目级别
        /// 1级
        /// 2级
        /// 3级
        /// </summary>
        [DisplayName("项目级别"), Required]
        public string APPOPS_RANK { get; set; }


        /// <summary>
        /// 创建人ID
        /// </summary>
        [DisplayName("创建人ID"), Required]
        public Guid APPOPS_FOUNDER_ID { get; set; }






        /// <summary>
        /// *项目负责人电话
        /// </summary>
        [DisplayName("项目负责人电话"), Required]
        public int APPOPS_PHONE { get; set; }


        /// <summary>
        /// *业务主管部门
        /// </summary>
        [DisplayName("业务主管部门"), Required]
        public string APPOPS_DEPARTMENT { get; set; }

        /// <summary>
        /// *业务联系人姓名和电话
        /// </summary>
        [DisplayName("业务联系人姓名和电话"), Required]
        public string APPOPS_BUSINESSLINKMAN { get; set; }


        /// <summary>
        /// 项目状态
        /// 1是下线 0是进行中
        /// </summary>
        [DisplayName("项目状态"), Required]
        public string APPOPS_STATE { get; set; }


        /// <summary>
        /// 项目创建时间
        /// </summary>
        [DisplayName("项目创建时间"), Required]
        public DateTime APPOPS_TIME { get; set; }


        /// <summary>
        /// 项目结束时间
        /// </summary>
        [DisplayName("项目结束日期"), Required]
        public DateTime APPOPS_OVERTIME { get; set; }



        /// <summary>
        /// 业务类型
        /// </summary>
        [DisplayName("业务类型")]
        public string APPOPS_BUSINESSTYPE { get; set; }

        /// <summary>
        /// 功能描述
        /// </summary>
        [DisplayName("功能描述")]
        public string APPOPS_DESCRIBE { get; set; }

        /// <summary>
        /// 用户人数
        /// </summary>
        [DisplayName("用户人数")]
        public string APPOPS_QUANTITY { get; set; }

        /// <summary>
        /// 使用频率
        /// </summary>
        [DisplayName("使用频率")]
        public string APPOPS_FREQUENCY { get; set; }

        /// <summary>
        /// 关联系统名称
        /// </summary>
        [DisplayName("关联系统名称")]
        public string APPOPS_RELEVANCENAME { get; set; }

        /// <summary>
        /// 系统关联方式
        /// </summary>
        [DisplayName("系统关联方式")]
        public string APPOPS_RELEVANCEWAY { get; set; }





        /// <summary>
        /// 项目账号（备忘）
        /// </summary>
        [DisplayName("项目账号")]
        public string APPOPS_AAA { get; set; }



        /// <summary>
        /// 项目隶属的空间
        /// </summary>
        [DisplayName("项目隶属的空间"), Required]
        public Guid TEAMSPACE_ID { get; set; }

    }
}
